<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="css/sal.css" rel="stylesheet" type="text/css" />
<title>RCP</title>
</head>
<body>
<ul id="nav">
	<li class="current"><a href="Ordering">Home</a></li>
	<li><a href="">Menu</a>
		<ul>
			<li><a href="#">Beef Entrees</a>
				<ul>
					<c:forEach items="${beef }" var="beef">
						<li><a href="Remove?entree=${beef.entree }">${beef.entree }</a></li>
					</c:forEach>
				</ul>
			</li>
			<li><a href="">Chicken Entrees</a>
				<ul>			
					<c:forEach items="${chicken }" var="chicken">
						<li><a href="Remove?entree=${chicken.entree }">${chicken.entree }</a></li>
					</c:forEach>
				</ul>
			</li>
			<li><a href="">Pork Entrees</a>
				<ul>
					<c:forEach items="${pork }" var="pork">
						<li><a href="Remove?entree=${pork.entree }">${pork.entree }</a></li>
					</c:forEach>
				</ul>
			</li>
			<li><a href="">Veggie Entrees</a>
				<ul>
					<c:forEach items="${veggie }" var="veggie">
						<li><a href="Remove?entree=${veggie.entree }">${veggie.entree }</a></li>
					</c:forEach>
				</ul>
			</li>
			<li><a href="">New Entrees</a>
				<ul>
					<c:forEach items="${newEnt }" var="newEnt">
						<li><a href="Remove?entree=${newEnt }">${newEnt }</a></li>
					</c:forEach>
				</ul>
			</li>
		</ul>
	</li>
	<li><a href="#">Promotions</a>
		<ul>
			<c:forEach items="${promo }" var="promo">
				<li><a href="#">${promo.promo }</a>
					<ul>
						<li><a href="#">${promo.desc }</a></li>
					</ul>
				</li>
			</c:forEach>
		</ul>
	</li>
	<li><a href="History">Customer History</a></li>
	<li><a href="AssignedTable">Assigned Tables</a></li>
	<li><a href="LogoutServlet">Change Password</a></li>
	<li><a href="LogoutServlet">Log Out</a></li>
</ul>
<form action="Finalize">
	<p><h1>Current Order</h1></p>
	<c:forEach items="${totalOrder }" var="order">
		 <pre>	<h2>${order.entree }	${order.price }</h2></pre></br>
		 	<c:forEach items="${order.sides }" var="side">
		 		<pre>		${side}</pre></br>
		 	</c:forEach>
	 </c:forEach>
	 <p><h1>Total</h1></p>
	 <p>${totalPrice }</p>
	 <input name="Finalize" value="Finalize" type="submit">
	 
</form>
</body>
</html>